package com.ymatou.paymentproxy.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;
/**
*支付同步回调Call
*FreeMaker Template自动生成代码
*/
public class CallbackCall extends YmatouBaseCall{
	private static String opurl ="Callback/";
	
	public CallbackCall() {
		super(EnvSetup.getSystemUrl("paymentproxy"),opurl,"GET","STRING");
	}
	public CallbackCall(String paytype) {
		super(EnvSetup.getSystemUrl("paymentproxy"),opurl+paytype,"GET","STRING");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
}